package com.example.question;

import com.example.mentalarithmetic.R;

import java.util.ArrayList;

public class QuestionType {
    private int total;
    private int age;
    private ArrayList<Type> questionList;

    public QuestionType() {
        total = 10;
        age = R.mipmap.bookssjbshuxuexs1xcover;
        questionList = new ArrayList<>();
        questionList.add(new Type(10, QuestiontypeEnum.TEN_ADD));
    }

    public QuestionType(int age, int total, ArrayList<Type> questionList) {
        this.age = age;
        this.total = total;
        this.questionList = questionList;
    }

    public ArrayList<Type> getQuestionList() {
        return questionList;
    }

    public void setQuestionList(ArrayList<Type> questionList) {
        this.questionList = questionList;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotal() {
        return total;
    }
}


